home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Whiteline: delta
/
whiteline CD Series - delta.iso
/
progtool
/
modula2
/
module
/
soundtst.mod
< prev
next >
Wrap
Text File
|
1995-11-25
|
2KB
|
77 lines
MODULE SoundTst;
FROM Sounds IMPORT Sound,Wave,Volume,SoundOnOff,Noise,Play;
VAR i :INTEGER;
BEGIN
SoundOnOff(7);(* Sound off *)
Noise(7,10);(* noise off *)
Sound(1,0);
Sound(2,0);
Sound(3,0);
SoundOnOff(0);(* Sound On,alle Kanäle *)
Sound(1,300);
Sound(2,700);
Sound(3,900);
Volume(1,5);
Volume(2,10);
Volume(3,15);
Wave(1,14,500);
Wave(2,12,5000);
Wave(3,8,1000);
Noise(2,10);
Noise(3,31);
Noise(1,5);
Noise(7,10);(* Rauschen aus ,alle kanäle*)
SoundOnOff(0);(* Sound On,alle Kanäle *)
Sound(1,00);
Sound(2,00);
Sound(3,00);
Volume(2,15);
Volume(3,15);
Sound(2,200);
Sound(3,400);
Noise(1,15);
Wave(1,14,500);
Noise(7,10);
SoundOnOff(0);(* Sound On,alle Kanäle *)
Volume(1,15);
Volume(2,10);
Volume(3,15);
FOR i := 500 TO 4000 DO
Sound(3,i);
Sound(2, i DIV 2);
Sound(1,i DIV 3);
END(*FOR*);
FOR i := 4000 TO 500 BY -1 DO
Sound(1,i);
Sound(3, i DIV 2);
Sound(2,i DIV 3);
END(*FOR*);
Noise(7,10); (* noise off *)
SoundOnOff(7);(* Sound off,alle Kanäle *)
Sound(1,0);
Sound(2,0);
Sound(3,0);
(******)
Sound(1,300);
Sound(2,700);
Sound(3,900);
Volume(1,5);
Volume(2,10);
Volume(3,15);
Wave(1,14,500);
Wave(2,12,5000);
Wave(3,8,1000);
(*Noise(2,10);
Noise(3,31);
Noise(1,5);*)
(* Noise(2,0);
Noise(3,0);
Noise(1,0);*)
END SoundTst.